package decimal;

import java.math.BigDecimal;

public class testBigDecimal {
	public static void main(String[] args) {
		BigDecimal lmoney = new BigDecimal(100+"").divide(new BigDecimal(300+""),5,BigDecimal.ROUND_HALF_DOWN).setScale(4, BigDecimal.ROUND_HALF_UP).multiply(new BigDecimal("10000"));
		System.out.println(lmoney.intValue());
	}
}
